class UnitDateTime {
  DateTime? startDate;

  UnitDateTime({this.startDate});

  factory UnitDateTime.fromJson(Map<String, dynamic> json) => UnitDateTime(
        startDate: json['StartDate'] == null
            ? null
            : DateTime.parse(json['StartDate'] as String),
      );

  Map<String, dynamic> toJson() => {
        'StartDate': startDate?.toIso8601String(),
      };
}
